package com.hxkj.client.service;

import com.hxkj.domain.po.AllocationFunction;
import com.hxkj.domain.po.AuthRole;
import com.hxkj.domain.po.Companyinfo;
import com.platform.common.domain.result.ParameterDataStruct;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.result.ResultPageStruct;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;


/**
 * @author yaosy
 * @create 2018年6月29日15:11:12
 * @desc 合作公司模板解析
 **/
@FeignClient(name = "cms-management")
public interface OptionCompanyServiceClient {
    /**
     *
     *
     * @param companyinfo
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/optionCompany/analyzeOption", method = RequestMethod.POST,consumes = "application/json;charset=UTF-8")
    public ResultDataStruct<List<Companyinfo>> analyzeOption(@RequestBody Companyinfo companyinfo) throws Exception;




}
